package com.wyclabs.auth.web;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 鉴权服务
 * @author rs
 * @date 2019/10/17 11:06
 */
@SpringBootApplication(scanBasePackages = {"com.wyclabs"}, exclude = {DataSourceAutoConfiguration.class})
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.wyclabs.api")
public class AuthWebApp {

    public static void main(String[] args) {
        SpringApplication.run(AuthWebApp.class, args);
    }

}
